#ifndef LINESTRIMBAR_H
#define LINESTRIMBAR_H

#include "sidebarbase.h"
#include "editdefines.h"

#include <Qsci/qsciscintilla.h>

namespace Ui {
    class LinesTrimBar;
}

class LinesTrimBar : public SideBarBase {
    Q_OBJECT
public:
    LinesTrimBar(QWidget *parent = 0);
    ~LinesTrimBar();

signals:
    void trim(TrimInfo&);
    void trimEOLs(QsciScintilla::EolMode);

protected:
    void changeEvent(QEvent *e);

private slots:
    void on_pbTrimAll_clicked();
    void on_pbTrimAbove_clicked();
    void on_pbTrimBelow_clicked();

    void trimEolMenu_activated(QAction *act);

private:
    Ui::LinesTrimBar *ui;
};

#endif // LINESTRIMBAR_H
